﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;


namespace WebApplication1
{
    public partial class MenuDanhMuc : System.Web.UI.UserControl
    {
        List<BLLLoaiSanPham> loai = new List<BLLLoaiSanPham>();
        protected void Page_Load(object sender, EventArgs e)
        {
            loai = BLLLoaiSanPham.GetAll();
            DataList1.DataSource = loai;
            DataList1.DataBind();
        }
    }
}